import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/moeappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'db_appmenu1_appmenu',
        items:  [
            {
	id: 'F680F05A-C190-4E45-A1A9-03C59C50D160',
	name: 'menuitem2',
	text: '入驻审核',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '入驻审核',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/ruzhushenhe.svg',
	textcls: '',
	appfunctag: 'AppFunc9',
	resourcetag: 'GOVE_ROLE_ENT',
},
            {
	id: 'C6661C62-2B87-4FD5-8B57-F5BAC21E3543',
	name: 'menuitem1',
	text: '星级评定',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '星级评定',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/xingjipd.svg',
	textcls: '',
	appfunctag: 'AppFunc17',
	resourcetag: 'TOWN_ROLE_ENT',
},
            {
	id: 'DDDB1006-624A-47A0-A1B7-494333068C8F',
	name: 'menuitem7',
	text: '任务管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '任务管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/renwugl.svg',
	textcls: '',
	appfunctag: 'AppFunc11',
	resourcetag: 'VILLAGE_ROLE_ENT',
},
            {
	id: '06718EA1-9F3D-41D1-A7A8-92B493D6AFE5',
	name: 'menuitem3',
	text: '商户管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '商户管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/shanghugl.svg',
	textcls: '',
	appfunctag: 'AppFunc21',
	resourcetag: 'GOVE_ROLE_ENT',
},
            {
	id: '02284C8B-79CD-4682-9547-F8D447B3D06A',
	name: 'menuitem4',
	text: '商品',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '商品',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/shangpingl.svg',
	textcls: '',
	appfunctag: 'AppFunc12',
	resourcetag: '',
},
            {
	id: '20B1AB35-0D05-4B4F-9C3B-7008E6159A0C',
	name: 'menuitem5',
	text: '订单',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '订单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/dingdangl.svg',
	textcls: '',
	appfunctag: 'AppFunc20',
	resourcetag: '',
},
            {
	id: 'DB85CA72-23C7-4399-B61F-1832EE4395D3',
	name: 'menuitem8',
	text: '任务管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '任务管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/renwugl.svg',
	textcls: '',
	appfunctag: 'AppFunc10',
	resourcetag: '',
},
            {
	id: '74FDFF0E-9924-4D33-8930-90A2875989D0',
	name: 'menuitem9',
	text: '任务管理',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '任务管理',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/renwugl.svg',
	textcls: '',
	appfunctag: 'AppFunc30',
	resourcetag: '',
},
            {
	id: 'D29D0342-32A7-422A-A5AA-33FBD1D21AAC',
	name: 'menuitem6',
	text: '渠道',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '渠道',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/qudaogl.svg',
	textcls: '',
	appfunctag: '',
	resourcetag: '',
},
        ],
    }];
});

